<?php
/**
 * Created by PhpStorm.
 * User: Vito
 * Date: 2022/3/21
 * Time: 17:20
 */

$isDev = isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] === '192.168.0.157:8012';

if ($isDev) {
    $clientHost     = 'http://192.168.0.157:8080/';
} else {
    $clientHost     = 'http://apartment.liuchaoai.com/client';

}

return [
    'is_dev'           => $isDev,
    //系统访问日志是否启用延时队列去记录
    'system_log_queue' => false,
    //授权登录的KEY
    'auth_token_key'   => 'access-token',
    //默认支付驱动
    'payment'          => [
        'default' => 'allInPay',
    ],

    'client_host'         => $clientHost,
    //维护员端
    'repair_host'         => 'http://mainten.wuye.com/',
    //注册地址
    'repair_register_uri' => 'pages/register/register',
];
